runtime.hchan.qcount (field)
16 uses
runtime (current package)
chan.go#L34: qcount uint // total data in the queue
chan.go#L149: return c.qcount == c.dataqsiz
chan.go#L227: if c.qcount < c.dataqsiz {
chan.go#L238: c.qcount++
chan.go#L347: if atomic.Loaduint(&c.qcount) == 0 {
chan.go#L352: for c.qcount > 0 {
chan.go#L359: c.qcount--
chan.go#L482: return atomic.Loaduint(&c.qcount) == 0
chan.go#L565: if c.qcount == 0 {
chan.go#L588: if c.qcount > 0 {
chan.go#L602: c.qcount--
chan.go#L800: return int(c.qcount)
select.go#L263: if c.qcount > 0 {
select.go#L280: if c.qcount < c.dataqsiz {
select.go#L454: c.qcount--
select.go#L475: c.qcount++
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |